projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6865a89
)
Use window-full-width-p instead of comparing frame-width and
author
Martin Rudalics
<rudalics@gmx.at>
Wed, 8 Aug 2007 05:51:36 +0000
(
05:51
+0000)
committer
Martin Rudalics
<rudalics@gmx.at>
Wed, 8 Aug 2007 05:51:36 +0000
(
05:51
+0000)
window-width.
lisp/calendar/calendar.el
patch
|
blob
|
history
diff --git
a/lisp/calendar/calendar.el
b/lisp/calendar/calendar.el
index 719f32be3c16a90c38dea6b424191199ff4cdb44..330cf8521f3d63638cada0759fc331131e474179 100644
(file)
--- a/
lisp/calendar/calendar.el
+++ b/
lisp/calendar/calendar.el
@@
-2078,7
+2078,7
@@
Or, for optional MON, YR."
;; Don't do any window-related stuff if we weren't called from a
;; window displaying the calendar
(when in-calendar-window
- (if (or (one-window-p t) (
/= (frame-width) (window-width
)))
+ (if (or (one-window-p t) (
not (window-full-width-p
)))
;; Don't mess with the window size, but ensure that the first
;; line is fully visible
(set-window-vscroll nil 0)